home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / CHIP Kasım 1996.iso / ms / visualj / vjtrialb.exe / RCDATA / CABINET / VJTOOLS.TIP < prev    next >
Text File  |  1996-08-22  |  20KB  |  150 lines

  1. ; Microsoft Visual J++
  2. ; Tip of the Day
  3. ; Copyright(c) 1996 Microsoft Corp. All rights reserved.
  4. ; Development Tools (VJTools.tip)
  5. ; -- Categories --
  6. twl=Microsoft Developer Tools
  7. txt=Editing and Navigating Text
  8. wks=Using Workspaces and Projects
  9. res=Using the Resource Editors
  10. bld=Building Applications
  11. dbg=Debugging
  12. brw=Browsing
  13. all=All Tips
  14. dev=Microsoft Developer
  15. hlp=Using the Information System
  16. shp=Advice on Shipping Software
  17. ; -- Tips --
  18. #priority 80
  19. all,Welcome to Visual J++ 1.0 Trial (Beta 3)!\n\nBefore you get started, visit the Visual J++ web page at http://www.microsoft.com/visualj to get the latest product updates, information, and other cool stuff!
  20. #priority -
  21. all,The source editor is compliant with special tags for \n\t- HTML 2.0\n\t- Internet Explorer 2.0\n\t- Internet Explorer 3.0\n\nWhile editing an HTML file, right-click and select Properties from the pop-up menu. Use the Language list to make a selection.
  22. all,You can debug applets within the Internet Explorer 3.0 browser.\n\nFrom the Build menu, select Settings and choose the Debug tab. Set the Category to General and select Debug/Execute project under: Browser.
  23. all,You can debug applications using Jview.exe.\n\nFrom the Build menu, select Settings and choose the Debug tab. Set the Category to General and select Debug/Execute project under: Stand-alone interpreter.
  24. all,You can create a simple Java applet using the Java Applet Wizard. From the File menu, select New and choose Project Workspace. Select Java Applet Wizard, enter a name for your project and select the Create button to start the applet wizard.  
  25. all,It's easy to turn a .java file into a Visual J++ project.\n\nJust load the .java file without a project workspace and build the file. A default workspace will be created for you!
  26. all,You can convert your Visual C++ dialogs and menus directly to Java code.\n\nUse the Java Resource Wizard, found on the Tools menu.
  27. all,You can use custom tools to build non-Java files in your project.\n\nFrom the Build menu, choose Settings. Select your file in the left-hand pane and click on the Custom Build tab.
  28. dev,You can add buttons to any toolbar. From the Tools menu, choose Customize. Select the Toolbars tab. Drag any button or command onto a toolbar. If you drop the button or command outside an existing toolbar, a custom toolbar is automatically created.
  29. hlp,You can toggle an InfoViewer Topic window title by pressing {InfoViewerToggleTopicTitle}. You can toggle the Topic window toolbar by pressing {InfoViewerToggleToolbar}.
  30. dev,You can hide all screen elements to see more information. From the View menu, choose Full Screen. To restore the screen, click the Full Screen button or press Esc.
  31. hlp,You can define an InfoViewer subset to display a smaller set of books in the InfoView pane, to narrow the scope of a query, or to narrow the scope of an F1 search in a source file. \n\nTo set the default subset for the InfoView pane, Search Query, or F1 source-file search, choose the Set Default Subsets command on the Help menu.
  32. dev,You can resize the drop-down edit control on a toolbar. From the Tools menu, choose Customize and select the Toolbars tab. Click the control on the toolbar to display the selection box and then drag the right edge.
  33. hlp,{InfoViewerJumpNext} moves to the next hotspot in the InfoViewer Topic window.
  34. hlp,Pressing F1 displays help for the keyword at the cursor in a source window or the Output window. \n\nThis shortcut works in an InfoViewer Topic window, too! When you select text and then press F1, InfoViewer displays help for the selected text. You can select a word by double-clicking it.
  35. dev,You can move a toolbar button by holding down Alt and dragging it to a new position. You can drag it to a different toolbar or remove it by dragging it off the toolbar.
  36. hlp,When you click a hotlink in an InfoViewer topic, you go to a related topic. To return to the previous topic, press {InfoViewerBack}.
  37. dev,You can get help on any dialog box or error message. Click the Help button in the dialog or message box or press F1.
  38. dev,Many useful commands are accessible only from toolbar buttons. To discover the available toolbar buttons, choose the Toolbar tab on the Customize dialog box. To add a toolbar button to an open toolbar, drag the toolbar button from the tab to the toolbar. Dropping the toolbar button outside an existing toolbar creates a custom toolbar. 
  39. hlp,When using InfoViewer, you can query for a search string in text or a search string "just in titles." Querying for a search string just in titles is a good technique to find a topic your have visited before.
  40. dev,To close and save multiple source files, you can choose the Windows command on the Window menu.
  41. hlp,You can do a subsequent query on a list of topics from a previous InfoViewer query. This is a good method to cast a wide net and then pick out the catch. From the InfoViewer Search dialog, choose the Last topics found option from the Where would you like to search? step.
  42. dev,You can display multiple toolbars. From the View menu, choose Toolbars and then select the toolbars you want.
  43. dev,You can undock a dockable window by double-clicking its border. To see a list of dockable windows, choose the Workspace tab on the Options dialog box.
  44. hlp,You can pin the InfoViewer Query Results window to browse and display topics. When the window is unpinned, it hides when you open a topic. Press {InfoViewerQueryResult} to display it again.
  45. dev,You can cycle through panes in a tabbed window by pressing Ctrl+PageUp or Ctrl+PageDown. You can cycle through tabs in a tabbed dialog by pressing Ctrl+Tab or Ctrl+Shift+Tab.
  46. hlp,You can choose the Keyboard command on the Help menu to see the current keyboard shortcuts. The keyboard list is updated when you make a change to a shortcut assignment. Change assignments from the Customize command on the Tools menu. 
  47. hlp, You can use your own WinHelp files to provide F1 help in source files. For information, see Microsoft Developer Studio Extension Help (EXTHELP.HLP) in the product \Help subdirectory.
  48. dev,You can display a pop-up menu by clicking the right mouse button in a window. The pop-up menu contains commands specific to the window where you clicked.
  49. hlp,In an InfoViewer Topic window, {InfoViewerSeeAlso} displays the See Also list. This shortcut works even if you've hidden the toolbar with {InfoViewerToggleToolbar}.
  50. hlp,With the new InfoViewer glossary feature, you can easily find the definition of an unfamiliar term in an information title such as Books Online. Just click a term to see its definition in a pop-up window. \n\nIf this tip were in Books Online, you could click the term "information title" to find out exactly what it is! (An information title is what InfoViewer displays.)
  51. dev,You can move the insertion point to the previous word by pressing {WordLeft}. To move to the next word, press {WordRight}.
  52. hlp,When an InfoViewer topic is active, you can enter a keyword in the Find box on the Standard toolbar to begin a query. Press Enter to query within the current topic. Press Shift+Enter to query the current information title (your last settings on the Query tab are used as defaults).
  53. dev,You can scroll text up one screen by pressing {PageUp}. Pressing {PageDown} scrolls text down one screen. 
  54. hlp,There are two default InfoViewer toolbars:  InfoViewer, which contains buttons for common operations, and InfoViewer Contents, which lists available subsets for the InfoView pane.
  55. dev,You can close a dialog box by pressing Esc.
  56. hlp,Pressing F1 on a keyword in a source file displays help for that keyword.
  57. dev,Pressing {EditProperties} displays properties for the selected item or window.
  58. hlp,You can turn off title tips in any Workspace Window pane by toggling Title Tips on the pop-up menu for the pane. 
  59. hlp, You can use Microsoft Development Library for F1 help in source files rather than Visual C++ Books Online. If you are a subscriber to MSDN, just open the latest version from the Open Information Title dialog box. Until you open another title, Microsoft Development Library will remain current between sessions.
  60. dev,When editing, you can move selected items by dragging. To copy the selection, hold down Ctrl as you drag.
  61. hlp, Files in online sample programs are opened up directly in Developer Studio. \n\nSee the Tutorials and Samples node in Books Online or the Samples node under Product Documentation in Microsoft Development Library for a list of samples.
  62. dev, {WindowDockingView} toggles a docking window's docked state.
  63. hlp,You can set the default size and position of the application help window. After pressing the Help button on a dialog, for instance, size and position the help window where you want it (perhaps at the bottom of the application frame). When you request help again from a dialog, window, or property page, the help window opens where you last placed it.
  64. dev,You can see all of the standard and custom keyboard bindings by choosing the Keyboard command on the Help menu.
  65. hlp,You can dock the InfoViewer Contents toolbar at the top of the Workspace window by holding down the Shift key while dragging the InfoViewer Contents toolbar into position. The InfoViewer Contents toolbar allows you to change subsets in the InfoView pane. By default, the InfoViewer Contents toolbar is docked at the top of the Workspace window.
  66. dev,You can press Esc or Shift+Esc to hide a window in a dockable state. When focus is either in the output or topic window, pressing Esc returns focus to an open source window, without hiding the output or topic window. Pressing Esc again hides the output or topic window.
  67. dev,You can learn about any command on a menu by highlighting the command and reading the text in the status bar at the bottom of the main window.
  68. hlp, When clicking glossary text in a Books Online topic, you see the pop-up definition for the term. Glossary text is dark gray by default.
  69. hlp, You can open Microsoft Development Library from within Microsoft Developer Studio.
  70. dev,You can quickly select a large block of text with the mouse. Click at the beginning of the text, press Shift, and then click at the end of the text.
  71. hlp,You can drag-and-drop text from the InfoViewer topic window to a source window.
  72. hlp,You can determine the scope of a full-text help query by using subsets. Create or choose a subset that includes only the books you want to search.
  73. dev,You can display a menu of toolbars by pointing to a toolbar and then clicking the right mouse button.
  74. hlp,You can change the color of the glossary pop-up text to any color. \n\nTo change the default gray color, choose the Format tab on the Options dialog and then select the InfoViewer category.
  75. hlp,You can dock the InfoViewer topic window. Choose Docking View from the pop-up menu to switch the topic window to a floating state and then drag the topic window to the application frame to dock it.
  76. dev,You can move a toolbar by clicking between the toolbar buttons and dragging. Return the toolbar to its original position by double-clicking its titlebar.
  77. hlp,Dock your InfoViewer toolbar to either side of the application frame for easy access.
  78. dev,You can drag toolbar buttons to a new position on a toolbar or to a different toolbar. Hold down Alt and drag the button. To copy buttons, press Alt+Ctrl.
  79. hlp,You can apply InfoViewer subsets in three areas: content displays in the InfoView pane, full-text queries in the InfoViewer Search dialog, and F1 help searches in source files. Subsets are independently applied in each area. For example, changing an InfoView pane subset does not affect F1 source-file help.
  80. hlp,You can determine the scope of a F1 source-file help by using subsets. Create or choose a subset that includes only the books you want to search. \n\nThis technique helps you pinpoint the reference topics most relevant to your programming task.
  81. twl,You can open one of the last files you worked on by choosing it from the bottom of the File menu.
  82. txt,You can repeat the last Find command in the source editor by pressing {FindNext}.
  83. txt,The source editor can emulate BRIEF(TM) and Epsilon (TM).
  84. res,Holding down Shift as you draw constrains the shape of an object. For example, it constrains a rectangle to a square or an ellipse to a circle.
  85. twl,You can move to the beginning of a line by pressing {Home}. You can move to the end of a line by pressing {LineEnd}.
  86. dbg,You can press {DebugStopDebugging} to stop debugging.
  87. dbg,You can press {DebugRestart} to restart debugging.
  88. txt,Esc moves the focus back to a source or topic window from the Find box on the toolbar.
  89. dbg,The pop-up menu often has debugger commands specific to that window.
  90. twl,You can undo most actions by clicking the Undo button on the Standard toolbar.
  91. txt,Before you can change text or graphics, you must first select the item you want to modify.
  92. txt,You can press {GoToNextErrorTag}and {GoToPrevErrorTag} to move to the next and previous build error or Find-in-Files match.
  93. dbg,When debugging, you can single-step into functions by pressing {DebugStepInto}.
  94. dbg,You can change how variables and expressions are displayed in the Watch or QuickWatch window by using format specifiers such as ,us (Unicode string) and ,x (hexadecimal integer).
  95. txt,When editing, you can go to the next and previous find by pressing {FindNext} and {FindPrev}.
  96. twl,You can hide all screen elements to see more of your code. From the View menu, choose Full Screen. To restore the screen, click the Full Screen button or press Esc.
  97. txt,You can undo your last edit by pressing {Undo}. To undo more than one change, press the key again.
  98. twl,You can use macros to insert the filename, date, page number, and other information into a header or footer.
  99. res,You can align controls by clicking the Snap-to-Grid button on the Layout toolbar and then selecting the Snap-to-Grid check box.
  100. twl,You can repeat your last action by clicking the Redo button on the Standard toolbar.
  101. twl,You can press {ViewOutputWindow} to display the Output window.
  102. dbg,You can press {DebugToggleBreakpoint} to toggle a breakpoint at the cursor. The shortcut works in the Call Stack, too!
  103. dbg,In the Variables window and the Watch window, you can autosize a column to fit its contents by double-clicking on the divider.
  104. txt,When editing, you can select a word by double-clicking it. This shortcut works in the InfoViewer Topic window, too!
  105. bld,You can press {RebuildAll} to rebuild all of your project files.
  106. twl,You can press {ViewInfoViewerTopic} to display the InfoViewer Topic window.
  107. xt,When editing, you can press {BookmarkToggle} to toggle a bookmark at the cursor.
  108. dbg,The Watch window has several panes, but only the visible pane is evaluated. This behavior means you can quickly change variables by placing assignment statements in a Watch pane and activating it when you want to change the variables. For example, in Watch 2 enter "debug=1" and in Watch 3 enter "debug=0".
  109. txt,When editing, you can replace text by selecting it and then typing.
  110. dbg,When debugging, you can press {ViewWatchWindow} to display the Watch window.
  111. twl,In the U.S. or Canada, you can call the Microsoft Wish Line to make suggestions about features you would like to see in any Microsoft product or service. \n\nThe number for the Wish Line is (206) 936-WISH.
  112. txt,When editing, you can press {IndentSelection} to indent and {UnindentSelection} to unindent selected lines.
  113. txt,You can press {Find} to display the Find dialog.
  114. dbg,When debugging, you can press {DebugRunToCursor} to run the program to the cursor. This shortcut works in the Call Stack, too!
  115. bld,You can press {Build} to build the current target.
  116. txt,When editing, you can press {GoTo} to move to a line in the file.
  117. twl,When editing, you can go to the beginning of a file by pressing {DocumentStart}. You can go to the end of a file by pressing {DocumentEnd}.
  118. twl,You can move or copy selected text or graphics by dragging and dropping. To copy the item, hold down Ctrl as you drag.
  119. txt,When editing, you can use the selection bar to select text. In the space to the left of text, click once to select a line. Ctrl+Click to select the entire contents of the window.
  120. dbg,You can easily add variables to the Watch window by selecting them in your code and dragging them into the Watch window.
  121. txt,The status bar at the bottom of the application frame shows the current line number, column number, editor mode, current time, and other information.
  122. bld,You can press {ToolStop} to stop any running tool or a build in progress.
  123. dbg,You should single-step new or changed code.
  124. dbg,When debugging, you can press {DebugHexadecimalDisplay} to toggle the hexadecimal-display option.
  125. dbg,When debugging, you can step over functions by pressing {DebugStepOver}.
  126. dbg,When debugging, you can press {DebugQuickWatch} to open the QuickWatch window to evaluate an expression.
  127. dbg,When debugging, you can press {ViewWatchWindow} to display the Watch window.
  128. txt,When editing, you can press {LineCut} to delete the current line.
  129. txt,You can find a match for a parenthesis, square bracket, or angle bracket by placing the insertion point on it and pressing {GoToMatchBrace}.
  130. twl,When editing, you can press {GoTo} to move to a line, address, or bookmark.
  131. dbg,When debugging, you can press {ViewDisassemblyWindow} to display the Disassembly window.
  132. twl,You can select text by holding down Shift and then pressing an arrow key.
  133. txt,You can scroll through a file when using drag-and-drop editing. Drag the selected item beneath the horizontal ruler or above the horizontal scroll bar.
  134. txt,Developer Studio displays the name of a toolbar button when you point to the button.
  135. txt,You can assign a shortcut key to the WindowCycle command to cycle through the open source windows. To assign a shortcut key, choose the Keyboard command on the Customize dialog. The WindowCycle command is under the Window category.
  136. txt,You can select a rectangular block of text by holding down Alt while you drag.
  137. dbg,With Data Tips, you can place the mouse pointer on a variable when debugging and instantly see its value.
  138. twl,Developer Studio has a wealth of cool features --more than can fit in the main menu. To see what's available, explore the toolbars, pop-up menus, window and item properties. Look at what's in the Customize and Options dialogs on the Tools menu, too.
  139. txt,You can record commands and other actions and then play them back when you need to perform the same series of tasks. To begin recording, press {ToolsRecordKeystrokes}. To stop recording, press it again. To play back the recording, press {ToolsPlaybackRecording}.
  140. txt,You can split the window into two panes and see two parts of a file simultaneously. Drag the split bar at the top of the scroll bar to split the window.
  141. dbg,When debugging, you press {ViewCallStackWindow} to display the Call Stack window.
  142. txt, When editing, you can press {FindNextWord} to find the next occurrence of the selected text. {FindPrevWord} finds the previous occurrence.
  143. bld,You can press {Compile} to compile the current file.
  144. twl,You can open a file by clicking the Open button on the Standard toolbar. To see the file in the list, you may need to select a different drive or directory or select All Files from the List Files Of Type box.
  145. txt,Many source code control packages, such as SourceSafe, can be seamlessly integrated into Visual J++.
  146. txt,When editing or using Books Online, you can use a bookmark to mark your place. Choose Bookmark or InfoViewer Bookmark from the Edit menu and then type a name for the bookmark. Press {GoTo} to return to the bookmark.
  147. dbg,When debugging, you can press {DebugToggleBreakpoint} to set a breakpoint at the return address of a function in the Call Stack window. You can press {DebugRunToCursor} to execute to that frame.
  148. dbg,When debugging, you can find the cause of an assertion by using the Call Stack window to view the calling function frames.
  149. txt,When editing, you can press {GoToMatchBrace} to find the matching brace, parenthesis, or angle bracket.
  150.